package by.bsu.rfe.belianko.euniversity.model;

import by.bsu.rfe.belianko.euniversity.dao.AdmissionDAO;
import by.bsu.rfe.belianko.euniversity.dao.FacultiesDAO;
import by.bsu.rfe.belianko.euniversity.dao.IAdmissionDAO;
import by.bsu.rfe.belianko.euniversity.dao.IFacultiesDAO;
import by.bsu.rfe.belianko.euniversity.dao.IStudentsDAO;
import by.bsu.rfe.belianko.euniversity.dao.StudentsDAO;

/**
 * Intermediate level between DAO and commands.
 * 
 * @author Vitali_Belianko
 * 
 */
public class DataBaseLayer {
	private static final IStudentsDAO studentsDao = StudentsDAO.getInstance();
	private static final IFacultiesDAO facultiesDao = FacultiesDAO
			.getInstance();
	private static final IAdmissionDAO admissionDao = AdmissionDAO
			.getInstance();

	public static IStudentsDAO getStudentsDao() {
		return studentsDao;
	}

	public static IFacultiesDAO getFacultiesDAO() {
		return facultiesDao;
	}

	public static IAdmissionDAO getIAdmissionDAO() {
		return admissionDao;
	}
}
